<?php
$connect = ssh2_connect("47.114.163.161",22);

ssh2_auth_password($connect,'root',"Zhudechao1877917");
$stream = ssh2_exec($connect,"/bin/lssss -la /tmp");
$stderr_stream = ssh2_fetch_stream($stream,SSH2_STREAM_STDIO);

stream_set_blocking($stderr_stream, true);

$contests = stream_get_contents($stderr_stream);
print_r($contests);
die();
